package cn.le.beans.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

@ApiModel(value = "JobNameDTO")
public class JobNameDTO {

    @ApiModelProperty(value = "任务名称",required = true)
    @NotBlank
    private String jobName;
    @ApiModelProperty(value = "应用名称",required = true)
    @NotBlank
    private String appName;

    public JobNameDTO(){}

    public JobNameDTO(String jobName,String appName){
        this.appName = appName;
        this.jobName = jobName;
    }


    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }
}
